package com.boyi.db.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

@Getter
@Setter
@ToString
@Accessors(chain = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("")
@Table(name = "`user`")
public class User implements Serializable {
    @Id
    @Column(name = "`user_id`")
    @ApiModelProperty("")
    private String userId;

    @Column(name = "`username`")
    @ApiModelProperty("")
    private String username;

    @Column(name = "`password`")
    @ApiModelProperty("")
    private String password;

    @Column(name = "`create_time`")
    @ApiModelProperty("")
    private Date createTime;

    @Column(name = "`notify_url`")
    @ApiModelProperty("")
    private String notifyUrl;

    @Column(name = "`state`")
    @ApiModelProperty("")
    private Short state;

    private static final long serialVersionUID = 1L;
}